<?php

namespace app\shop\validate;

use think\Validate;

class UserValidate extends Validate
{
    protected $rule = [
        ['username', 'require', '请输入用户名'],
        ['password', 'require|length:6,20', '请输入密码|密码长度在6位到20位之间'],
        ['user_id', 'require', '参数不全'],
        ['seller_id', 'require', '参数不全'],
        ['category_id', 'require', '参数不全'],
    ];

    protected $scene = [
    ];
}